@font-face {
  font-family: "pingfang";
  src: url("../fonts/pingfang.ttf");
  font-weight: 500;
}

body {
  padding: 0px;
  margin: 0px;
  font-family: pingfang;
}

.main {
  width: 1400px;
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
}

ul, li, a, dl, dd, dt {
  text-decoration: none;
  list-style: none;
  margin: 0px;
  padding: 0px;
  border: 0px;

  &:active, &:link, &:hover, &:visited, &:focus {
    border: 0px;
    text-decoration: none;
    outline: none;
  }
}

.up {
  position: absolute;
  bottom: 20px;
  right: 50px;

  img {
    width: 50px;
    cursor: pointer;
  }
}

.menu_ico {
  cursor: pointer;
  position: absolute;
  top: 7%;
  left: 15%;
}

.n-drawer {
  background: none;
}

.menu {
  display: block;

  dt {
    height: 140px;
    line-height: 140px;
    text-align: right;
    font-size: 20px;
    position: relative;

    &.close {
      img {
        margin-right: 20px;
        cursor: pointer;
        transition: transform 300ms ease-out;

        &:hover {
          transform: rotate(100deg) translate(0px, 0px) skew(0deg, 0deg);
        }
      }
    }
  }

  li {
    height: 140px;
    line-height: 140px;
    text-align: right;
    font-size: 20px;
    position: relative;


    &:after {
      display: block;
      position: absolute;
      z-index: 80;
      left: 0px;
      top: 0px;
      width: 0px;
      bottom: 0px;
      content: '';
      background: rgba(25, 105, 236, 1);
      transition: width 200ms ease;
    }

    a {
      position: absolute;
      display: block;
      padding-right: 60px;
      color: white;
      z-index: 90;
      left: 0px;
      right: 0px;
      top: 0px;
      bottom: 0px;

      span {
        position: relative;

        &:after {
          content: '';
          position: absolute;
          bottom: -5px;
          left: 0px;
          width: 0%;
          height: 2px;
          background: #fff;
          transition: width 300ms ease-in-out;
        }
      }

    }

    &:hover {
      span:after {
        width: 100%;
      }

      &:after {
        width: 100%;
      }

      a:hover {

      }
    }


  }
}


@mixin content($url,$position:"center center") {
  display: block;
  width: 100%;
  height: 100vh;
  position: relative;
  background-image: url($url);
  background-repeat: no-repeat;
  background-position: $position;
  .logo {
    position: absolute;
    top: 7%;

    a {
      display: inline-block;
      margin-right: 20px;
      font-size: 14px;
      color: rgba(90, 90, 90, 1);

      &.on {
        color: rgba(65, 130, 239, 1);
      }
    }
  }
}

.clear {
  clear: both;

  &:after {
    display: block;
    content: '';
    clear: both;
  }
}

.about {
  @include content("../images/about.png");

  .logo {
    right: 10%;
  }

  .about_content {
    width: 703px;
    height: 480px;
    border-radius: 30px 0px 0px 30px;
    background: rgba(52, 168, 83, 0.9);
    position: absolute;
    transform: translateY(-40%);
    right: 0px;
    top: 50%;
    padding-left: 46px;
    color: #fff;

    .title {
      margin-top: 150px;
      font-size: 32px;
    }

    .msg {
      margin-top: 50px;
      font-size: 20px;
      line-height: 2;
    }
  }
}

.about1 {
  @include content("../images/inv.png", right top);
  background-size: 50% 100%;

  .logo {
    right: 45%;
  }

  .inv_content {
    display: block;
    position: absolute;
    top: 400px;
    left: 400px;

    .title {
      height: 60px;
      font-size: 32px;
      font-family: PingFangSC-Semibold, PingFang SC;
      font-weight: 600;
      color: #212121;
      line-height: 60px;
    }

    .msg {
      font-size: 14px;
      font-family: PingFangSC-Regular, PingFang SC;
      font-weight: 400;
      color: #757575;
      line-height: 28px;
    }
  }
}

.about2 {
  @include content("../images/item_bg.png", 80% top);

  .logo {
    right: 10%;
  }

  .items_content {
    position: absolute;
    top: 300px;
    width: 1200px;
    left: 50%;
    transform: translateX(-50%);

    .left {
      float: left;
      width: 600px;

      img.map {
        width: 100%;
      }

      .dot {
        position: absolute;

        img {
          opacity: 1;
          width: 30px;
          transition: 100ms ease-in-out;
        }

        span {
          width: 100px;
          height: 100px;
          position: absolute;
          top: -30px;
          left: -30px;
          background-size: 100%;
          text-align: center;
          color: #fff;
          font-size: 14px;
          font-weight: bold;
          line-height: 100px;
          transform: rotateY(90deg);
          transition: 300ms ease;
          opacity: 0;
        }

        &:hover {
          img {
            opacity: 0;
          }

          span {
            display: inline-block;
            transform: rotateY(0deg);
            opacity: 1;
          }
        }
      }

      .dot1 {
        left: 75px;
        top: 85px;

        span {
          background-image: url("../images/dot01.png");
          line-height: 1.6 !important;
          height: 75px !important;
          padding-top: 25px !important;
        }
      }

      .dot2 {
        left: 305px;
        top: 58px;

        span {
          background-image: url("../images/dot02.png");
        }
      }

      .dot3 {
        left: 410px;
        top: 110px;

        span {
          background-image: url("../images/dot03.png");
        }
      }

      .dot4 {
        left: 448px;
        top: 125px;

        span {
          background-image: url("../images/dot04.png");
        }
      }

      .dot5 {
        left: 458px;
        top: 130px;

        span {
          background-image: url("../images/dot05.png");
        }
      }

      .dot6 {
        left: 448px;
        top: 175px;

        span {
          background-image: url("../images/dot06.png");
        }
      }

      .dot7 {
        left: 520px;
        top: 220px;

        span {
          background-image: url("../images/dot07.png");
        }
      }
    }

    .right {
      float: left;
      margin-left: 50px;
      width: 550px;

      .title {
        font-size: 24px;
        font-family: PingFangSC-Semibold, PingFang SC;
        font-weight: 600;
        color: #212121;
        line-height: 2.2;
      }

      .des {
        font-size: 14px;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        color: #757575;
        line-height: 28px;
        margin-top: 20px;
      }
    }
  }
}

.inv {
  @include content("", right top);

  .logo {
    right: 45%;
  }

  .inv_content {
    display: block;
    position: absolute;
    top: 0px;
    bottom: 0px;
    right: 0px;
    left: 0px;

    .right {
      position: absolute;
      top: 0px;
      bottom: 0px;
      right: 0px;
      width: 1000px;


      div {
        height: 48vh;
        position: absolute;
        width: 500px;
        text-align: right;
      }
      .a1,.a2,.a3,.a4{
        height: 49.5%;
        img{height: 100%}
        span{
          opacity: 0;
          position: absolute;
          left: 0px;
          right: 0px;
          bottom: 0px;
          top: 0px;
          font-size: 30px;
          color: #fff;
          font-weight: bold;
          text-align: center;
          line-height: 500px;
          background-image: url("../images/a01.png");
          background-size: 97.2% 100%;
          background-repeat: no-repeat;
          background-position: right top;
          transition: 300ms ease-in-out;
        }
        &:hover{
             span{
               opacity: 1;
             }
        }
      }

      .a1 {
        left: 225px;
        width: 540px;
      }

      .a2 {
        right: 0px;
        width: 348px;
        span{
          background-image: url("../images/a02.png");
          background-size: 100% 100%;
        }
      }
      .a3{
        left: 40px;
        bottom:0;
        width: 602px;
        img{
          width: 100%;
        }
        span{
          background-image: url("../images/a02.png");
          background-size: 100% 100%;
        }
      }
      .a4{
        right: 0;
        bottom: 0;
        width: 470px;
        span{
          background-image: url("../images/a02.png");
          background-size: 100% 100%;
        }
      }
    }

    .left{
      position: absolute;
      right: 900px;
      top: 50%;

      .title {
        height: 60px;
        font-size: 32px;
        font-family: PingFangSC-Semibold, PingFang SC;
        font-weight: 600;
        color: #212121;
        line-height: 60px;
      }

      .msg {
        font-size: 14px;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        color: #757575;
        line-height: 28px;
      }

    }


  }
}

.items {
  @include content("");
  .content{
    left: 50%!important;
    transform: translateX(-50%);
    width: 920px!important;

  }

  .logo {
    right: 10%;
  }

  .content {
    top: 160px;
    left: 500px;
    width: 1200px;
    position: absolute;

    .title {
      font-size: 32px;
      font-family: PingFangSC-Semibold, PingFang SC;
      font-weight: 600;
      color: #212121;
      line-height: 60px;
      height: 60px;
      margin-bottom: 20px;
    }

    .list {
      display: block;

      &:after {
        display: block;
        content: '';
        clear: both;
      }

      dl {
        float: left;
        width: 280px;
        margin-right: 24px;
        margin-bottom: 20px;
      }

      dt {
        height: 24px;
        font-size: 18px;
        font-family: PingFangSC-Semibold, PingFang SC;
        font-weight: 600;
        color: #212121;
        line-height: 24px;
      }

      dd.des {
        font-size: 12px;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        color: #757575;
        line-height: 28px;
      }
    }
  }

}

.news {
  @include content("");


  .logo {
    right: 10%;
  }

  .news_content {
    position: absolute;
    top: 120px;
    width: 1300px;
    left: 50%;
    transform:translateX(-50%);

    .title {
      height: 60px;
      font-size: 32px;
      font-family: PingFangSC-Semibold, PingFang SC;
      font-weight: 600;
      color: #212121;
      line-height: 60px;
    }

    .list {
      margin-top: 20px;

      &:after {
        display: block;
        content: '';
        clear: both;
      }

      .sub {
        float: left;
        width: 400px;
        height: 310px;
        position: relative;
        margin-bottom: 10px;
        margin-right: 10px;


        &:nth-child(-n+2) {
          width: 605px;
        }

        img {
          width: 100%;
          height: 100%;
        }

        &:hover .msg {
          background: rgba(66, 133, 244, 0.9);
        }

        .msg {
          transition: 300ms ease;
          background: rgba(0, 0, 0, 0.5);
          position: absolute;
          left: 0px;
          right: 0px;
          top: 0px;
          bottom: 0px;
          color: #fff;
          text-align: center;

          a{
            position: absolute;
            left: 0px;
            right: 0px;
            top: 0px;
            bottom: 0px;
          }

          .des {
            margin-top: 60px;
            font-size: 20px;
            font-family: PingFangSC-Semibold, PingFang SC;
            font-weight: 600;
            color: #FFFFFF;
            line-height: 30px;
            width: 80%;
            margin-left: auto;
            margin-right: auto;
          }

          .line {
            border-bottom: 2px solid #fff;
            width: 20px;
            margin: 20px auto;
          }

          .date {
            font-size: 14px;
            font-family: PingFangSC-Medium, PingFang SC;
            font-weight: 500;
            color: #FFFFFF;
            line-height: 24px;
          }
        }
      }
    }

    .more {
      width: 152px;
      height: 44px;
      border: 1px solid #212121;
      margin: 20px auto;
      text-align: center;
      line-height: 44px;

      a {
        display: block;
      }
    }
  }
}

.newscontent {
  display: block;
  width: 1300px;
  margin: 0 auto;

  .title {
    height: 60px;
    font-size: 32px;
    font-family: PingFangSC-Semibold, PingFang SC;
    font-weight: 600;
    color: #212121;
    line-height: 60px;
    display: block;
    margin: 20px 0;
    @extend .clear;

    a {
      float: right;
      height: 60px;
      font-size: 14px;
      font-family: PingFangSC-Semibold, PingFang SC;
      font-weight: 600;
      color: #FFFFFF;
      line-height: 60px;
      background: url("../images/back.png") left center no-repeat;
      text-indent: 50px;
      color: #000;
    }
  }

  div.list {
    display: block;
    @extend .clear;

    .sub {
      width: 360px;
      float: left;
      border-top: 1px solid #ccc;
      margin-right: 80px;
      text-align: center;

      &:nth-child(3n) {
        margin-right: 0px;
      }

      .date {
        display: block;
        margin-top: 35px;
        height: 24px;
        font-size: 14px;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        color: #212121;
        line-height: 24px;
      }

      .msg {
        width: 80%;
        margin: 0 auto;
        font-size: 16px;
        font-family: PingFangSC-Medium, PingFang SC;
        font-weight: 500;
        color: #5A5A5A;
        line-height: 2;
        height: 80px;
      }

      .more {
        color: #4285F4;
        font-size: 14px;
        margin-bottom: 35px;
        a{
          color: blue;
        }
      }
    }
  }
}

.contact {
  @include content("");


  .logo {
    right: 10%;
  }

  .img {
    position: absolute;
    left: 0px;
    bottom: 0px;
    top: 0px;
    width: 50%;
    background: url("../images/content.png") center center no-repeat;

    img {
      width: 100%;
      height: 100%;
    }
  }

  .msg {
    position: absolute;
    width: 40%;
    left: 55%;
    top: 50%;

    .title {
      font-size: 16px;
      font-weight: bold;
      margin-bottom: 20px;
    }

    .des {
      font-size: 14px;
      line-height: 2;
      margin-bottom: 20px;
    }

    .but {
      @extend .clear;

      span {
        float: right;
        line-height: 50px;

      }

      a.abut {
        border: 1px solid #000;
        padding: 10px;
        height: 30px;
        line-height: 30px;
        color: #000;

        img {
          margin-left: 30px;
          vertical-align: middle;
          line-height: 30px;
        }
      }
    }
  }
}
.feedback{
  @include content("");
  .logo {
    right: 10%;
  }
  .feedback_content{
    width: 1200px;
    position: absolute;
    left: 50%;
    top: 120px;
    transform:translateX(-50%);
    .title{
      font-size: 30px;
      margin-bottom: 20px;
    }
    .msg{
      color: rgba(117, 117, 117, 1);
      margin-bottom: 20px;
    }
    .form{
      display: block;
      margin-top: 10px;
      .input{
        width: 580px;
        height: 55px;
        background-color: #f7f7f7;
        float: left;
        color: rgba(117, 117, 117, 1);
        line-height: 55px;
        margin-right: 20px;
        margin-bottom: 20px;
        &:nth-child(2n){
          margin-right: 0px;
        }
        label{
          width: 120px;
          display: inline-block;
          text-indent: 30px;
        }
        input{
          height: 32px;
          border: 0px;
          width: 450px;
          background:none;
          &:focus{
            outline: none;
          }
        }
      }
      .textarea{
        clear: both;
        background-color: #f7f7f7;
        label{
          display: block;
          text-indent: 30px;
          line-height: 55px;
          color: rgba(117, 117, 117, 1);
        }
        textarea{
          display: block;
          width: 95%;
          margin: 0 auto 20px auto;
          height: 100px;
          border: 0px;
          background: none;
          &:focus{
            outline: none;
          }
        }
      }
      .file{
        background-color: #f7f7f7;
        padding-bottom: 10px;
        label{
          display: block;
          text-indent: 30px;
          line-height: 55px;
          color: rgba(117, 117, 117, 1);
        }
        .file_info{
          display: block;
          width: 95%;
          text-align: center;
          margin: 0 auto 20px auto;
          padding: 10px 0;
        }
        .n-upload-trigger{
          display: block;
          width: 100%;
        }
        .n-upload-file-list{
          width:95%;
          margin: 0 auto;
        }
      }
      .tip{
        display: block;
        img{
          display: inline-block;
        }
        span{
          display: inline-block;
          padding-left: 10px;
          line-height: 1.6;
        }
      }
      .button{
        display: block;
        margin-top: 20px;
        button{
          height: 55px;
          background-color: rgba(33, 33, 33, 1);
          color:#fff;
          width: 100%;
          border: 0;
          cursor: pointer;
        }
      }
    }
  }
}